package com.wanmait.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class TestController {
    @RequestMapping("/test")
    @ResponseBody
    public String sayHello(String name){
        return "hello test "+name;
    }
}
